Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up macOS and Windows builds #1352

Merged
merged 45 commits into from
Dec 21, 2024
Merged

Fix up macOS and Windows builds #1352

merged 45 commits into from
Dec 21, 2024

Conversation

C0rn3j
Copy link
Collaborator

@C0rn3j C0rn3j commented Dec 20, 2024

Fixes #995
Fixes #1161
Fixes #1175
Fixes #1188
Fixes #1349

Gets Windows building, albeit there's still some minor unresolved issues tracked in #1315.

Fix macOS CI as extra branch we were using is now deleted and fix in git master instead - switch to develop.

MSVC change was applying for MINGW too, now ifdef'd.

Phazor.c converted to tab indentation, indentation was fixed, and ifdef blocks are now indented.

Always install Rust even though it may not be always needed, the 80MB dep won't hurt in exchange for preventing fails and it also simplifies docs.

Stop using requirements_optional.txt for run.sh, requirements.txt already has optionals.

Fix requirements_optional.txt as it had opencc without OS limit.

Move the extra req.txt files to extra/ as we only need requirements.txt which has cross-platform deps + opts too, and requirements_devel.txt for stubs.

Put Pillow back, it is necessary.

Fix not including libraries in run.sh for mingw - this made Pillow build from source fail.

phazor functions are now exported for Python, this seems to have been necessary for both MSVC and MINGW64

MINGW64 is mildly kicking us here with msys2/MINGW-packages#22856 but one can just copy the w binary over and rename it to the needed one.

@C0rn3j C0rn3j changed the title Fix up Windows build Fix up macOS and Windows builds Dec 21, 2024
@C0rn3j C0rn3j marked this pull request as ready for review December 21, 2024 15:45
@C0rn3j C0rn3j marked this pull request as draft December 21, 2024 16:20
@Taiko2k Taiko2k merged commit 1c1939c into Taiko2k:master Dec 21, 2024
3 checks passed
@C0rn3j C0rn3j deleted the buildfixes branch December 21, 2024 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants